package com.micro.frog.acct.dao;

import com.micro.frog.acct.entity.RoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMenuMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(RoleMenu record);

    int insertSelective(RoleMenu record);

    RoleMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleMenu record);

    int updateByPrimaryKey(RoleMenu record);

    List<RoleMenu> selectByCondition(RoleMenu record);

    List<RoleMenu> selectByRoleIdIn(@Param("roleIds") List<Integer> roleIds);

    int deletedByRoleId(Integer roleId);

}